package com.dj.merchant.mapper;

import com.dj.merchant.model.MartBuilding;
import com.dj.merchant.model.MartBuildingExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* 
* 
*/
public interface MartBuildingMapper {
    /**
     *
     * 
     */
    long countByExample(MartBuildingExample example);

    /**
     *
     * 
     */
    int deleteByExample(MartBuildingExample example);

    /**
     *
     * 
     */
    int deleteByPrimaryKey(Integer martBuildingId);

    /**
     *
     * 
     */
    int insert(MartBuilding record);

    /**
     *
     * 
     */
    int insertSelective(MartBuilding record);

    /**
     *
     * 
     */
    MartBuilding selectOneByExample(MartBuildingExample example);

    /**
     *
     * 
     */
    List<MartBuilding> selectByExample(MartBuildingExample example);

    /**
     *
     * 
     */
    MartBuilding selectByPrimaryKey(Integer martBuildingId);

    /**
     *
     * 
     */
    int updateByExampleSelective(@Param("record") MartBuilding record, @Param("example") MartBuildingExample example);

    /**
     *
     * 
     */
    int updateByExample(@Param("record") MartBuilding record, @Param("example") MartBuildingExample example);

    /**
     *
     * 
     */
    int updateByPrimaryKeySelective(MartBuilding record);

    /**
     *
     * 
     */
    int updateByPrimaryKey(MartBuilding record);
}